json.result    true
json.message   "获取门店详情成功."
json.data      do
  json.id             @shop.id
  json.name           @shop.name
  json.avatar         @shop.avatar.url
  json.big_avatar     @shop.big_avatar.url
  json.province       @shop.province.blank? ? "" : @shop.province.name
  json.city           @shop.city.blank? ? "" : @shop.city.name
  json.district       @shop.district.blank? ? "" : @shop.district.name
  json.phone          @shop.phone
  json.longitude      @shop.longitude
  json.latitude       @shop.latitude
  json.stars          @shop.stars
  json.intro          @shop.intro
  json.direct_sale    @shop.direct_sale
  json.favorited      @current_user.presence ? @shop.is_favorited?(@current_user.id) : false
  json.share_title    @shop.name
  json.share_content  @shop.intro
  json.share_avatar   @shop.avatar.url
  json.share_url      "#{Setting.fetch("android_download_url")}"
end